      <div id="footer">
      <?php
      	if ($photo) {
      		echo "Photos &copy;&nbsp;" . $photo->get_realname() . "&nbsp;"; 
      	} else if ($user) {      		
      		echo "Photos &copy;&nbsp;" . $user->get_realname() . "&nbsp;"; 
      	}
      ?>site powered by <a href="http://flogr.googlecode.com">flogr v2.0</a>      
      </div>
    </body>
</html>